package com.xianxing.article.feign;

import com.xianxing.common.pojo.Article;
import com.xianxing.common.util.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "article",path = "article")
public interface ArticleFeign {

    @GetMapping("/findAll")
    Response<List<Article>> findAll();
}
